package com.ali.ttt.analysis.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * @Author : yuxl
 * @create 2024/7/18 3:23 PM
 */
@Data
@ApiModel(value = "访问用户")
public class AccessUser {

    @ApiModelProperty("id")
    @Field(type = FieldType.Keyword)
    private String id;

    @ApiModelProperty("name")
    @Field(type = FieldType.Keyword)
    private String name;
}
